package org.sean.fugao.data.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class CustomerCard implements Serializable{
	
	private String cardNumber;// VARCHAR(45) NOT NULL ,
	private Customer customer;// refer to customerId of customer object
	private boolean enabled = true; // TINYINT(1) NOT NULL DEFAULT '1' ,
	private Date effectiveDate;// DATE NOT NULL ,
	private BigDecimal balanceAmount = BigDecimal.ZERO; // DECIMAL(10,2) NOT NULL DEFAULT '0.00' ,
	private Date lastUpdateDate;// TIMESTAMP NOT NULL DEFAULT

	public String getCardNumber() {
		return cardNumber;
	}

	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	public boolean isEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	public Date getEffectiveDate() {
		return effectiveDate;
	}

	public void setEffectiveDate(Date effectiveDate) {
		this.effectiveDate = effectiveDate;
	}

	public BigDecimal getBalanceAmount() {
		return balanceAmount;
	}

	public void setBalanceAmount(BigDecimal balanceAmount) {
		this.balanceAmount = balanceAmount;
	}

	public Date getLastUpdateDate() {
		return lastUpdateDate;
	}

	public void setLastUpdateDate(Date lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
	}
}
